package com.bytz.modules.cms.reseller.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bytz.common.entity.IEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 莱宝CMS—经销商管理—终端用户基本信息表（同步c4c）
 * </p>
 *
 * @author KyleWang
 * @since 2022-10-10
 */
@Data
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = false)
@TableName("cms_end_user")
@ApiModel(value = "EndUser对象", description = "莱宝CMS—经销商管理—终端用户基本信息表（同步c4c）")
public class EndUser implements Serializable, IEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private String id;

    @ExcelProperty("客户编码(sapID)")
    @ApiModelProperty(value = "客户编码(SAP id)")
    private String customerNumber;

    @ExcelProperty("c4cID")
    @ApiModelProperty(value = "c4c中的AccountID")
    private String accountId;

    @ExcelProperty("中文客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ExcelProperty("英文客户名称")
    @ApiModelProperty(value = "客户名称-英文")
    private String customerNameEn;

    @ExcelProperty("中文客户地址")
    @ApiModelProperty(value = "客户地址")
    private String address;

    @ExcelProperty("英文客户地址")
    @ApiModelProperty(value = "客户地址-英文")
    private String addressEn;

    @ExcelProperty("联系人id")
    @ApiModelProperty(value = "联系人id")
    private String contactPersonId;

    @ExcelProperty("联系人")
    @ApiModelProperty(value = "联系人")
    private String contactPerson;

    @ExcelProperty("联系人电话")
    @ApiModelProperty(value = "电话")
    private String phone;

    @ExcelProperty("联系人电子邮件")
    @ApiModelProperty(value = "电子邮件")
    private String email;

    @ExcelProperty("邮政编码")
    @ApiModelProperty(value = "邮政编码")
    private String postcode;

    @ExcelProperty("传真")
    @ApiModelProperty(value = "传真")
    private String fax;

    @ApiModelProperty(value = "导入标志(0-未导入；1-已导入)")
    private Boolean importFlag;

    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
